home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Programming / EnterAct 3.5 / Drag_on Modules / hAWK programs / $EchoFileNames < prev    next >
Encoding:
Text File  |  1991-09-07  |  257 b   |  12 lines  |  [TEXT/KEEN]

  1. # $EchoFileNames - produces names of input files.
  2. #Typically use the "MFS selected files" input option
  3. #with "Show stdout" and "Select all of stdout" selected
  4.  
  5. BEGIN {
  6.     for (i = 1; i < ARGC; ++i)
  7.         {
  8.         n = split(ARGV[i], names, ":")
  9.         print names[n]
  10.         }
  11.     }
  12.